package server.business.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import server.business.service.DispenseResultsService;
import server.business.utils.Result;

/**
 * 配血结果数据字典
 */
@Controller
@RequestMapping("/dispenseResults")
public class DispenseResultsController {
    @Autowired
    private DispenseResultsService dispenseResultsService;
    /**
     * 查询数据
     */
    @RequestMapping("/normal/queryDispenseResults")
    @ResponseBody
    public Result queryDispenseResults() {
        dispenseResultsService.list();
        Result result = new Result();
        result.setData(dispenseResultsService.list());
        return result;
    }
}
